local TweenService = game:GetService("TweenService") local tweenInfo = TweenInfo.new( 2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0 ) local physicsService = game:GetService("PhysicsService") tool = Instance.new("Tool",owner.Backpack) tool.Name = "bomb" tool.CanBeDropped = true tool.RequiresHandle = true handle = Instance.new("Part",tool) handle.Name = "Handle" handle.Size = Vector3.new(0.5, 1, 0.5) hmesh = Instance.new("SpecialMesh",handle) hmesh.MeshId = "http://www.roblox.com/asset/?id=88742707" hmesh.TextureId = "http://www.roblox.com/asset/?id=88742969" hmesh.Scale = Vector3.new(0.792, 0.792, 0.792) hmesh.Offset = Vector3.new(0, 0.5, 0) tool.GripUp = Vector3.new(0, 1, 0) tool.GripRight = Vector3.new(-0.997, 0, 0.081) tool.GripPos = Vector3.new(0, -0.667, 0) tool.GripForward = Vector3.new(0.081, 0, 0.997) event = Instance.new("RemoteEvent",owner.PlayerGui) event.Name = "Fire" NLS([[ local mouse = game.Players.LocalPlayer:GetMouse() tool = script.Parent tool.Activated:Connect(function() local MousePos = mouse.Hit.p owner.PlayerGui.Fire:FireServer(MousePos) end) ]],tool) local function lerp(p0,p1,t) return p0*(1-t) + p1*t end local function quad(p0,p1,p2,t) local l1 = lerp(p0,p1,t) local l2 = lerp(p0,p2,t) local quad = lerp(l1,l2,t) return quad end db = false junk = game:GetService("Debris") event.OnServerEvent:Connect(function(player,MousePos) local sound = Instance.new("Sound", handle) sound.Volume = 3 sound.SoundId = "rbxassetid://5547815578" sound:Play() local tp = Instance.new("Part") tp.Transparency = .5 tp.Name = "Effect" tp.Anchored = true tp.CanCollide = false tp.Size = Vector3.new(0,0,0) tp.BrickColor = BrickColor.new("Lime green") tp.Position = MousePos tp.Parent = script tp.Orientation = Vector3.new(-90, 180, 180) local me=Instance.new("SpecialMesh") me.MeshId="http://www.roblox.com/asset/?id=3270017" me.Scale=Vector3.new(40,40,1) me.Parent=tp wait(2.7) local tween = TweenService:Create(tp, tweenInfo, {Transparency = 1}) tween:Play() local Part1 = Instance.new("Part") local SpecialMesh2 = Instance.new("SpecialMesh") Part1.Name = "helicopter" Part1.Parent = script Part1.Position = MousePos + Vector3.new(0,400,0) Part1.Size = Vector3.new(7.511458873748779, 14.340850830078125, 48.89326858520508) -- Part1.CustomPhysicalProperties = PhysicalProperties.new(999999999999999999999999999999999, 0.3, 0.5) SpecialMesh2.Parent = Part1 SpecialMesh2.MeshId = "rbxassetid://7424783762" SpecialMesh2.Scale = Vector3.new(-0.025784002617001534, 0.025784021243453026, 0.02578401006758213) SpecialMesh2.TextureId = "rbxassetid://7424783852" SpecialMesh2.MeshType = Enum.MeshType.FileMesh physicsService:RegisterCollisionGroup("copters") physicsService:SetPartCollisionGroup(Part1,"copters") --// the name physicsService:CollisionGroupSetCollidable("copters","copters",false) --// sets collission off junk:AddItem(Part1, 10) local ball = true Part1.Touched:Connect(function(hit) if ball and hit.Name ~= "helicopter" then ball = false sound:Stop() local crash = Instance.new("Sound", Part1) crash.Volume = 3 crash.SoundId = "rbxassetid://165772825" crash:Play() tp:Remove() local e = Instance.new("Explosion") e.BlastPressure = 1500000 e.BlastRadius = 50 e.DestroyJointRadiusPercent = 50 -- yes joint breakers e.Position = Part1.Position e.Parent = Part1 e.Hit:Connect(function(hit) if hit.Anchored == true then hit.Anchored = false end hit:BreakJoints() for _,joints in pairs(hit:GetJoints()) do joints:Destroy() end end) end hit.Anchored = false hit:BreakJoints() end) end)